package day005.ApplicationContextName;

import org.springframework.context.ApplicationContext;
import org.springframework.context.support.FileSystemXmlApplicationContext;

public class ExamMain {
	public static void main(String[] args) {
		ApplicationContext context = new FileSystemXmlApplicationContext("/src/day005/ApplicationContextName/life02.xml");
		LifeBean lifeBean = (LifeBean)context.getBean("lifeBean");
		
		lifeBean.lifeMethod();
	}
}